package com.socket.websocket.netty;

import io.netty.channel.ChannelHandlerContext;
import io.netty.handler.codec.http.FullHttpRequest;
import io.netty.handler.codec.http.websocketx.WebSocketFrame;

/**
 * Created by kaddddd on 2017/7/13.
 */
public interface IWebSocketServer {
    void handleHttpRequest(ChannelHandlerContext ctx,
                           FullHttpRequest req) throws Exception;
    void handleWebSocketFrame(ChannelHandlerContext ctx, WebSocketFrame frame);
}
